<?php
class QuickSearchPortlet extends RightSidePortlet{

	public $title="Search Hotshots";

	public function init()
	{
		parent::init();
		//$cs=Yii::app()->clientScript;
	}


	protected function renderContent()
	{
		$model=CoffeeShop::model();
		if(isset($_GET['CoffeeShop'])){
			$model->attributes=$_GET['CoffeeShop'];
		}
		$this->render('quickSearch',array('model'=>$model));

			
			
	}
}